/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rentalmobil.testing;

import java.sql.Date;
import java.sql.SQLException;
import rentalmobil.entity.sewa_mobil;

/**
 *
 * @author Henfryandie
 */
public class sewa_mobilTesting {
    public static void main(String[] args) throws SQLException {
        sewa_mobil sm = new sewa_mobil();
        sm.setNamaPenyewa("Henfry");
        sm.setAlamatPenyewa("Jln. Monjali");
        sm.setJaminan("Harta");
        sm.setTanggalSewa(Date.valueOf("2011-11-11"));
        sm.setTanggalKembali(Date.valueOf("2011-11-11"));
        sm.setNo_plat_mobil("AB4931JK");
        sm.insertSewaMobil();
    }
}
